package com.travel.page;

import com.travel.pojo.Hotel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class NewPage {
    private List<Hotel> content;
    private Pageable pageable;
    private int totalPages;
    private int totalElements;
    private boolean last;
    private int number;
    private int size;
    private Sort sort;
    private int numberOfElements;
    private boolean first;
    private boolean empty;
}
